home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / HyperCard Related / HyperCard Toolkits / HyperCard MacTCP Toolkit 1.0 / TCP XCMD Docs / card_2444.txt < prev    next >
Encoding:
Text File  |  1990-09-14  |  827 b   |  30 lines

  1. -- card: 2444 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3170
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 9
  9. ----- text -----
  10. Function:
  11.  
  12. -- part contents for background part 1
  13. ----- text -----
  14. rot13(string)
  15.  
  16. -- part contents for background part 2
  17. ----- text -----
  18. Return an en/decrypted version of string.
  19.  
  20. -- part contents for background part 3
  21. ----- text -----
  22. string
  23.  
  24. -- part contents for background part 7
  25. ----- text -----
  26. the string to be en/decrypted
  27.  
  28. -- part contents for background part 4
  29. ----- text -----
  30. Rot13 is a simple encryption/decryption mechanism used in the Net News community to "hide" potentially offensive material. It simply takes every letter in the test and add's 13 to it, modulo the letters of the alphabet. (I.e., "A" becomes "N", "B" becomes "O", ... , "N" becomes "A".)